#pragma once

namespace xs
{

class Window;
class StaticText;
class CheckBox;
class Button;
class TextBox;
class Slider;
class GroupBox;

//! Interfejs wizytatora, sluzy do przegladania drzewa kontrolek.

class UIVisitor
{
public:
	virtual void visit(Window *wnd) {}
	virtual void visit(StaticText *st) {}
	virtual void visit(CheckBox *cb) {}
	virtual void visit(Button *b) {}
	virtual void visit(TextBox *tb) {}
	virtual void visit(Slider *s) {}
	virtual void visit(GroupBox* gb) {}
};

}